<template>
  <!-- 模块切换区域 -->
  <router-view></router-view>
  <!-- Vue3的改变 -->
  <!-- <router-view v-slot="{ Component }">
    <keep-alive :exclude="['Detail', 'Order', 'CreateOrder', 'OrderDetail', 'EditAddress', 'Category']">
      <component :is="Component" />
    </keep-alive>
  </router-view> -->
  <!-- 底部tabbar区域 -->
  <main-tab-bar v-show="$store.state.isTabBarShow" />
</template>
<script>
import MainTabBar from 'components/content/MainTabBar.vue'

export default {
  components: { MainTabBar },
  name: 'App'
}
</script>

<style>
/* 引入全局样式 */
@import 'assets/css/base.css';
</style>
